//
//  Rank_PeopleInfoPhotoCell.h
//  YLProject
//
//  Created by 张伯林 on 2018/2/3.
//  Copyright © 2018年 WY. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger ,Rank_PeopleInfoPhotoType) {
    Rank_PeopleInfoPhotoGift = 3,         //收到礼物
    Rank_PeopleInfoPhotoBeat ,            //随拍
    Rank_PeopleInfoPhotoPrivate ,         //私照
    Rank_PeopleInfoPhotoVideo       //视频
};
@protocol Rank_PeopleInfoPhotoCellProtocol<NSObject>

@optional
-(void)didSelectList:(Rank_PeopleInfoPhotoType)type;
-(void)disSelectDetail:(Rank_PeopleInfoPhotoType)type index:(NSInteger)index;
@end
@interface Rank_PeopleInfoPhotoCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UILabel *headerTitleLabel;
@property (weak, nonatomic) id<Rank_PeopleInfoPhotoCellProtocol> delegate;
@property(assign,nonatomic) Rank_PeopleInfoPhotoType type;
@property(nonatomic,strong)NSArray *dataSource;
-(void)initWithModel:(id)model index:(NSInteger)index;
@end
